
*{ margin:0px;
    padding:0px;
}
body{
    font-size:62.5%;
    font-family:hevetica,georgia,raial,sans-serif;
    line-height:2em;
    background:#39424b  url(../images/body_bg.jpg) repeat-x left top;
}
ol,ul{
    list-style:none;
}
p{
    font-size:1.2em;
 }
a{
    text-decoration:none;
}
a img{
    border:none;
}
img{
    vertical-align:center;
}
fieldset{
    border:none;
}
h1,h2,h3,h4,h5,h6 {
    font-family:Arial, Helvetica, sans-serif;
}
h2{
    font-size:2.2em;
    margin:0;
}
h1{
    font-size:2em;
}
    .floatright{
    float:right;
}
a, a:visited {
    color:blue;
    text-decoration:none;
}
/* wraper--------------------------------*/
#wraper{ width:1250px;
    margin:0 auto;
}
/*back to top*/
#top
{
    width: 55px;
    height: 55px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    text-indent: -9999px;
    background: url(../images/top.jpg) no-repeat 0 0;
}
/* ----------------header----------------*/
#header{
    height:187px;
    width:100%;
    position:relative;
}
#header .dangnhap {
    background: url("../images/pages_bg.jpg") no-repeat scroll left top transparent;
    font-size: 1.2em;
    height: 37px;
    line-height: 37px;
    padding: 0 10px;
    width: 355px;
}
#header .dangnhap  {
    position: absolute;
    right: 0;
    top: 0;
}
#header .avata {
    background: url("../images/pages_bg.jpg") no-repeat scroll left top transparent;
    font-size: 1.2em;
    height: 37px;
    line-height: 37px;
    padding: 0 10px;
    width: 230px;
}
#header .avata  {
    position: absolute;
    right: 0;
    top: 0;
}
#header .dangnhap a:hover {
    text-decoration: underline;
}
#header .avata a:hover {
    text-decoration: underline;
}
#header ul#mainNav{
    position:absolute;
    bottom:5px;
    left:0px;
}
#header ul#mainNav li {
    display:inline;
}
#header ul#mainNav li a{
    padding:3px 10px;
    display:block;
    float:left;
    -moz-boder-radius:5px;
    -webkit-boder-radius:5px;
    color:white;
    font-weight:bold;
    text-transform:uppercase;
    font-size:1.2em;
}
#header ul#mainNav li a:hover{
    color:white;
    background:url(../images/cat_bg.jpg)repeat-x top left;
}
#header div#searchbox {
    position:absolute;
    bottom:5.5px;
    right:20px;
}
#header div#searchbox input {
    width:200px;
    border:1px solid #a4a4a4;
    padding:2px 0px 5px 27px;
    background:white url(../images/seach_icon.png) no-repeat 5px 50%;
}
/* ----------------mainleft----------------*/
#mainleft{
    width: 200px;
    background: #fbfef7;
    float: left;
    height: 1250px;
    margin: 5px;
}
#mainleft  h2.mainleft{
    padding:10px;
    color:white;
    font-size: 14px;
    background:url(../images/sidebar_bg.jpg) repeat-x top left scroll;
}
#mainleft h2{
    font-size: 12px;
}
#mainleft form{
    margin: 7px;
    padding: 5px;
}
#mainleft ul{
    width: 200px;
    margin: 5px;
}
#mainleft ul li{
    width: 100%;
    padding: 5px;
}
#mainleft ul li a{
    padding: 5px;
    font-size: 12px;
}
#mainleft ul li:hover{
    background: #eee;
}
#mainleft ul li.current{
    background:#62cbf7 ;
}
/* ----------------maincontent----------------*/
#maincontent{
    font-size: 12px;
}

#maincontent #slider{
    position:relative;
    margin: 5px;
    padding: 10px;
    background: #c6c6c6;
}
#maincontent #slider img
{
    height: 300px;
    width: 300px;
}
#maincontent table{
    background: #fbfef7;
    margin: 5px;
}
#maincontent .show_product{
    position: relative;
    margin: 5px;
    width: 80%;
    float: left;
    background: #fbfef7;
}
#maincontent .sanpham{
    position: relative;
    border: 1px solid #b6b6b6;
    width: 320px;
    height: 280px;
    float: left;
    margin: 3px;
    padding: 5px;
    background: #fbfef7;
    overflow: hidden;
}
#maincontent .sanpham  h2.gia{
    position: absolute;
    right: 5px;
    bottom: 55px;
    font-size: 16px;
}
#maincontent .sanpham  h2.ten{
    position: absolute;
    bottom: 10px;
    font-size: 16px;
}
#maincontent .sanpham  a.mua{
    position: absolute;
    left: 5px;
    bottom: 55px;
    font-size: 16px;
}
#maincontent .sanpham img{
    border-image: none;
    width: 300px;
    height: 200px;
}
/* ----------------page----------------*/
div#page {
    float: left;
    margin: 5px;
    padding: 5px;
    }
div#page a,#page strong{
    background:#e3e3e3;
    padding:4px 7px;
    text-decoration:none;
    border:1px solid #cac9c9;
    color:#292929;
    font-size:13px;
}
    div#page strong,#page a:hover{
    background:#cac9c9;
    font-weight:bold;
}
/* ----------------footer----------------*/
#footer_outer {
    clear:both;/* footer can xuong duoi cung  */
    height:277px;
    background:#101a24 url(../images/footer_bg.jpg) repeat-x left center;
}
#footer_wrapper {
    height:239px;
    width:1000px;
    margin:0 auto;
    position:relative;
}
#footer_links{
    position:absolute;
    top:32px; left:0;
}
#footer_links .info{
    float:left;
    width:270px;
    color:white;
    margin-right:60px;
}
#footer_links .info h2.latestpictures{
    height:0px 0px 15px 0px;
    text-indent:-99999px;
}
#footer {
    position:absolute;
    top:249px;
    color:#747474;
    float:inherit;
}
#footer p{
    color: #c6c6c6;
    margin-left:450px;
    font-size: 12px;
}
#footer p a{
    padding: 5px;
    color: white;
    font-size: 12px;
    text-decoration: underline;
}

.error {
    color:red; 
    font-weight:bold; 
}
/*dang ki*/
.detail-info {
    width: 870px;
    margin-left: 15px;
    margin-top: 15px;
    padding-bottom: 15px;
}
.title {
    background-color: #F5BA38;
    text-transform: uppercase;
    text-align: left;
    font-size: 20px;
    margin-bottom: 2px;
    color: white;
    padding: 5px 20px;
}
box-dk form label {
    text-align: right;
    width: 152px;
    margin-right: 30px;
}
.box-dk form input[type="text"], .box-info form input[type="text"], .text-dk, .text-lef, .text-lage {
    background: url("../images/text2.png") no-repeat scroll 0 0 transparent;
    height: 49px;
    line-height: 49px;
    width: 414px;
    border: none;
    float: left;
    margin-bottom: 10px;
    padding: 0 10px 0 3px;
}
.box-changpass, .box-info {
    background-color: #F5BA38;
    padding: 20px 0;
    overflow: hidden;
}
.box-dk form input[type="password"], .pas2 {
    height: 49px;
    line-height: 49px;
    border: none;
    float: left;
    margin-bottom: 10px;
    padding: 0 10px 0 3px;
}
.box-dk form input[type="password"], .pas2 {
    height: 49px;
    line-height: 49px;
    border: none;
    float: left;
    margin-bottom: 10px;
    padding: 0 10px 0 3px;
}
.box-dk form input[type="text"], .box-info form input[type="text"], .text-dk, .text-lef, .text-lage {
    background: url("../images/text2.png") no-repeat scroll 0 0 transparent;
    height: 49px;
    line-height: 49px;
    width: 414px;
    border: none;
    float: left;
    margin-bottom: 10px;
    padding: 0 10px 0 3px;
}
.box-dk form input.text[type="text"], .box-dk form input[type="password"], .pas2, .text {
    background: url("../images/text3.png") no-repeat scroll 0 0 transparent;
    width: 278px;
}
.box-changpass form label {
    float: left;
    width: 220px;
    font-size: 16px;
    color: white;
    line-height: 35px;
    text-align: left;
    display: block;
}
.box-dk form input[type="checkbox"] {
    margin-left: 110px;
}
.avata a img {
    width: 43px;
    height: 30px;
    float: left;
    border-radius: 3px 3px 3px 3px;
    border: 1px solid #ffffff;
    margin-right: 5px;
}
a#user {
    color: #ffffff;
    display: block;
    float: left;
    font-weight: bold;
    margin-right: 7px;
    padding-right: 10px;
}
a#logout {
    color: #ffffff;
    font-weight: bold;
}

/*form error*/
.form_error{
    clear: left;
    margin-left: 222px;
    color: red;
    font-size: 12px;
}
.aut_error {
    clear: left;
    margin-left: 222px;
    color: red;
    font-size: 12px;
}